Git: name and email address configuration

您所在的位置:网站首页 git user name Git: name and email address configuration

Git: name and email address configuration

#Git: name and email address configuration| 来源: 网络整理| 查看: 265

问题描述:

Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly:

git config --global user.name "Your Name" git config --global user.email [email protected]

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

解决办法:

Git simply detects you don't have the following section in your config files:

[user] name = email = /.git/config for the project specific config file.~/.gitconfig the global config file

When you do:

git config --global user.name "Your Name" git config --global user.email [email protected]


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3